package com.atguigu.study.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @Author early morning
 * @Create 2025/5/14 0:51
 * @Description: RequestLogAspect切面类起到作用
 */
@RestController
@Slf4j
public class HelloAopController {
    @GetMapping(value = "/hello")
    public String helloAop()
    {
        String content = "hello aop"+"\t"+ UUID.randomUUID().toString();

        System.out.println("----content: "+content);

        return content;
    }
}
